**************************************************
********* Table A7.3: Probit Regression Cross ****
********* Sectional Models ***********************
**************************************************

do "do_files/prep_GRACE_data/load_prep_GRACE_data.do"
do "do_files/prep_GRACE_data/ballot_level_prep.do"


***final evidence that time isn't a big deal is set of cross sections****
**another is to show cross section results***
eststo, title(1990s): quietly probit ballot_newlatwpresMMD  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  openelect  multimem  candperseat allincfmt educcolldeg unemppct stateyear_inclatpct if v05<=2000

eststo, title(2000s): quietly probit ballot_newlatwpresMMD  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  openelect  multimem  candperseat allincfmt educcolldeg unemppct stateyear_inclatpct if v05==2001 |v05==2002 |  v05==2003 | v05==2004 | v05==2005 | v05==2006 | v05==2007 | v05==2008 | v05==2009 | v05==2010

eststo, title(2010s): quietly probit ballot_newlatwpresMMD  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  openelect  multimem  candperseat allincfmt educcolldeg unemppct stateyear_inclatpct if v05>2010


***//now a set of cross sections for latinos to show gap persists***///

eststo, title(1990s): quietly probit ballot_newlatmpresMMD  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  openelect  multimem  candperseat allincfmt educcolldeg unemppct stateyear_inclatpct if v05<=2000

eststo, title(2000s): quietly probit ballot_newlatmpresMMD  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  openelect  multimem  candperseat allincfmt educcolldeg unemppct  stateyear_inclatpct if v05==2001 |v05==2002 |  v05==2003 | v05==2004 | v05==2005 | v05==2006 | v05==2007 | v05==2008 | v05==2009 | v05==2010

eststo, title(2000s): quietly probit ballot_newlatmpresMMD  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  openelect  multimem  candperseat allincfmt educcolldeg unemppct stateyear_inclatpct if v05>2010

estout, cells(b(star fmt(3)) se(par fmt(2))) legend label varlabels(_cons constant) stats(N, fmt(0) label(N)) mgroups("Latinas" "Latinos", pattern(1 0 0 1 0 0))

* clear eststo for displaying future tables
eststo clear

* pausing for users who might be looping through all replication files
pause

